package com.example.android_app.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.example.android_app.R;
import com.example.android_app.databinding.ActivityWhyTheAppBinding;

public class WhyTheAppActivity extends AppCompatActivity {
    ActivityWhyTheAppBinding activityWhyTheAppBinding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        setTheme(R.style.noToolbar);
        super.onCreate(savedInstanceState);
        activityWhyTheAppBinding = ActivityWhyTheAppBinding.inflate(getLayoutInflater());
        setContentView(activityWhyTheAppBinding.getRoot());

        activityWhyTheAppBinding.backToMian.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }
}